package com.aos.erp.schools.service.student;

import com.aos.erp.common.bean.PageBean;
import com.aos.erp.schools.model.student.Student;
import com.aos.erp.schools.model.student.dto.GovExNewStudentDTO;
import com.aos.erp.schools.model.student.dto.StudentOneDto;
import com.aos.erp.schools.model.student.ro.news.NewsRo;
import com.aos.erp.schools.model.student.ro.student.*;
import com.aos.erp.schools.model.student.vo.eaxm.ShowUpdateExamVo;
import com.aos.erp.schools.model.student.vo.news.NewsVo;
import com.aos.erp.schools.model.student.vo.student.StudentAll2Vo;
import com.aos.erp.schools.model.student.vo.student.StudentAllVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学员信息表 服务类
 * </p>
 *
 * @author chb
 * @since 2018-10-31
 */
public interface StudentService{


    void saveStudent(AddStudentRo student) throws Exception;
    int  updateStudent(UpdateStudentRo student);
    PageBean<StudentAllVo> queryByPage(SelectStudentRo ro);
    StudentAllVo queryObject(long id);
    int deleteStudent(Long[] ids);
    Student selectOne(StudentOneDto dto);
    PageBean<StudentAllVo> queryListByCityId(ListByCityIdRpcRo ro);
    int getStateStudentNum(long driverId);
    PageBean<StudentAllVo> queryListBy122(SelectSubmit122Ro ro);
    int updateNetStatus(Long[] ids);
    int updateNetStatusFaild(List<String> idnumList);
    int signUpOkStatus(List<String> idnumList);
    int signUpFaildStatus(String idnum);
    List<GovExNewStudentDTO>  queryObjectList(Long[] ids);
    StudentAll2Vo selectAll2Vo(long id);
    int updateNetStatusSuccess( List<String> idnumList);
    PageBean<NewsVo> selectStudentByIdNews(NewsRo ro);
    List<StudentAllVo> excelStudentExport(Long[] ids);
    int  updateStudentByStatus(Long studentId,int status);

}

